import Link from 'next/link'; import { Button } from '@/components/ui/button'; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from '@/components/ui/card'; import { getDictionary } from './locales'; import type { Locale } from '@/config/constants'; export default async function HomePage({ params, }: Readonly<{ params: Promise<{ locale: Locale }> }>) { const { locale } = await params; const dict = await getDictionary(locale); const t = dict.home; return (
{t.title} {t.subtitle}
); }